home *** CD-ROM | disk | FTP | other *** search
/ Delphi Magazine Collection 2001 / Delphi Magazine Collection 20001 (2001).iso / DISKS / Issue38 / BuildPro / COMMON FORMS / AboutMyProduct.pas < prev   
Pascal/Delphi Source File  |  1998-04-21  |  729b  |  43 lines

  1. unit AboutMyProduct;
  2.  
  3. interface
  4.  
  5. uses Windows, Classes, Graphics, Forms, Controls, StdCtrls,
  6.   Buttons, ExtCtrls;
  7.  
  8. type
  9.   TAboutBox = class(TForm)
  10.     Panel1: TPanel;
  11.     OKButton: TButton;
  12.     ProgramIcon: TImage;
  13.     ProductName: TLabel;
  14.     Version: TLabel;
  15.     Copyright: TLabel;
  16.     Comments: TLabel;
  17.     lblDebug: TLabel;
  18.     lblAssertions: TLabel;
  19.     procedure FormShow(Sender: TObject);
  20.   private
  21.     { Private declarations }
  22.   public
  23.     { Public declarations }
  24.   end;
  25.  
  26. var
  27.   AboutBox: TAboutBox;
  28.  
  29. implementation
  30.  
  31. {$R *.DFM}
  32.  
  33. uses Debug;
  34.  
  35. procedure TAboutBox.FormShow(Sender: TObject);
  36. begin
  37.   lblDebug.Visible := DebugOn;
  38.   lblAssertions.Visible := AssertionsOn;
  39. end;
  40.  
  41. end.
  42.  
  43.